A. getConnection()
B. executeQuery()
C. prepareCall()
D. executeUpdate()
Advertisement
Related Mcqs:
- Which driver is efficient and always preferable for using JDBC applications_____________?
- A. Type-1 driver B. Type-2 driver C. Type-3 driver D. Type-4 driver...
- Which driver is called as thin-driver in JDBC ?
- A. Type-1 driver B. Type-2 driver C. Type-3 driver D. Type-4 driver...
- Which method is used to perform DML statements in JDBC ?
- A. executeUpdate() B. executeQuery() C. execute() D. None of above...
- The JDBC-ODBC bridge is_________________?
- A. Singlethreaded B. Multithreaded C. Both of above D. None of above...
- The following fraction of code double STATIC = 2.5 ; System.out.println( STATIC ); ?
- A. Prints 2.5 B. Raises an exception C. Raises an error as STATIC is used as a variable which is a keyword D. None of these...
- The following program: public class Test{ static boolean is OK; public static void main(String args[]){System.out.print(is OK); } } ?
- A. Prints true B. Prints false C. Will not compile as boolean is not initialized D. Will not compile as boolean can never be static...
- What is the output for the below code ? public class Test{public static void main(String[] args){int i = 010; int j = 07;System.out.println(i); System.out.println(j); } } ?
- A. 7 8 B. 8 7 C. 9 8 D. None...
- What will be output of following program? public class Test{public static void main(String[] args){byte b=127; b++; b++; System.out.println(b); } } ?
- A. 127 B. -127 C. 129 D. -129...
- What will the output of the following program? public class Test{ public static void main(String args[]){float f = (1 / 4) * 10; int i = Math.round(f); System.out.println(i); } } ?
- A. 0 B. 1 C. 2 D. 3...
- Size of int in Java is_________________?
- A. 8 bit B. 16 bit C. 32 bit D. 64 bit...
Advertisement